3.12.34 \(\int (c+d x) \, dx\)

Optimal. Leaf size=12 \[ c x+\frac {d x^2}{2} \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 0, integrand size = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} c x+\frac {d x^2}{2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[c + d*x,x]

[Out]

c*x + (d*x^2)/2

Rubi steps

\begin {align*} \int (c+d x) \, dx &=c x+\frac {d x^2}{2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 12, normalized size = 1.00 \begin {gather*} c x+\frac {d x^2}{2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[c + d*x,x]

[Out]

c*x + (d*x^2)/2

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int (c+d x) \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[c + d*x,x]

[Out]

IntegrateAlgebraic[c + d*x, x]

________________________________________________________________________________________

fricas [A]  time = 1.46, size = 10, normalized size = 0.83 \begin {gather*} \frac {1}{2} x^{2} d + x c \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(d*x+c,x, algorithm="fricas")

[Out]

1/2*x^2*d + x*c

________________________________________________________________________________________

giac [A]  time = 0.90, size = 10, normalized size = 0.83 \begin {gather*} \frac {1}{2} \, d x^{2} + c x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(d*x+c,x, algorithm="giac")

[Out]

1/2*d*x^2 + c*x

________________________________________________________________________________________

maple [A]  time = 0.00, size = 11, normalized size = 0.92 \begin {gather*} \frac {1}{2} d \,x^{2}+c x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(d*x+c,x)

[Out]

1/2*d*x^2+c*x

________________________________________________________________________________________

maxima [A]  time = 1.35, size = 10, normalized size = 0.83 \begin {gather*} \frac {1}{2} \, d x^{2} + c x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(d*x+c,x, algorithm="maxima")

[Out]

1/2*d*x^2 + c*x

________________________________________________________________________________________

mupad [B]  time = 0.02, size = 10, normalized size = 0.83 \begin {gather*} \frac {d\,x^2}{2}+c\,x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(c + d*x,x)

[Out]

c*x + (d*x^2)/2

________________________________________________________________________________________

sympy [A]  time = 0.06, size = 8, normalized size = 0.67 \begin {gather*} c x + \frac {d x^{2}}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(d*x+c,x)

[Out]

c*x + d*x**2/2

________________________________________________________________________________________